package com.pap.rbac.datafield.auto.entity;

import java.io.Serializable;

import com.pap.base.entity.PapBaseEntity;
import com.pap.base.mybatis.plugin.annotation.MyBatisColumnAnnotation;
import com.pap.base.mybatis.plugin.annotation.MyBatisTableAnnotation;

@MyBatisTableAnnotation(name = "t_rbac_data_field", namespace = "com.pap.rbac.datafield.auto.mapper.DataFieldMapper", remarks = " 修改点 ", aliasName = "t_rbac_data_field t_rbac_data_field")
public class DataField extends PapBaseEntity implements Serializable {
	/**
	 * 编码,所属表字段为t_rbac_data_field.CODE
	 */
	@MyBatisColumnAnnotation(name = "CODE", value = "t_rbac_data_field_CODE", chineseNote = "编码", tableAlias = "t_rbac_data_field")
	private String code;

	/**
	 * 所属项目编号,所属表字段为t_rbac_data_field.PROJECT_ID
	 */
	@MyBatisColumnAnnotation(name = "PROJECT_ID", value = "t_rbac_data_field_PROJECT_ID", chineseNote = "所属项目编号", tableAlias = "t_rbac_data_field")
	private String projectId;

	/**
	 * 所属模块编号,所属表字段为t_rbac_data_field.MODULE_ID
	 */
	@MyBatisColumnAnnotation(name = "MODULE_ID", value = "t_rbac_data_field_MODULE_ID", chineseNote = "所属模块编号", tableAlias = "t_rbac_data_field")
	private String moduleId;

	/**
	 * 所属类路径编号,所属表字段为t_rbac_data_field.CLAZZ_ID
	 */
	@MyBatisColumnAnnotation(name = "CLAZZ_ID", value = "t_rbac_data_field_CLAZZ_ID", chineseNote = "所属类路径编号", tableAlias = "t_rbac_data_field")
	private String clazzId;

	/**
	 * 属性名称,所属表字段为t_rbac_data_field.NAME
	 */
	@MyBatisColumnAnnotation(name = "NAME", value = "t_rbac_data_field_NAME", chineseNote = "属性名称", tableAlias = "t_rbac_data_field")
	private String name;

	/**
	 * 属性值,所属表字段为t_rbac_data_field.FIELD
	 */
	@MyBatisColumnAnnotation(name = "FIELD", value = "t_rbac_data_field_FIELD", chineseNote = "属性值", tableAlias = "t_rbac_data_field")
	private String field;

	/**
	 * 可用状态标识,所属表字段为t_rbac_data_field.DISABLE_FLAG
	 */
	@MyBatisColumnAnnotation(name = "DISABLE_FLAG", value = "t_rbac_data_field_DISABLE_FLAG", chineseNote = "可用状态标识", tableAlias = "t_rbac_data_field")
	private String disableFlag;

	/**
	 * 删除状态标识,所属表字段为t_rbac_data_field.DELETE_FLAG
	 */
	@MyBatisColumnAnnotation(name = "DELETE_FLAG", value = "t_rbac_data_field_DELETE_FLAG", chineseNote = "删除状态标识", tableAlias = "t_rbac_data_field")
	private String deleteFlag;

	/**
	 * 备注,所属表字段为t_rbac_data_field.REMARK
	 */
	@MyBatisColumnAnnotation(name = "REMARK", value = "t_rbac_data_field_REMARK", chineseNote = "备注", tableAlias = "t_rbac_data_field")
	private String remark;

	private static final long serialVersionUID = 1L;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getModuleId() {
		return moduleId;
	}

	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
	}

	public String getClazzId() {
		return clazzId;
	}

	public void setClazzId(String clazzId) {
		this.clazzId = clazzId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public String getDisableFlag() {
		return disableFlag;
	}

	public void setDisableFlag(String disableFlag) {
		this.disableFlag = disableFlag;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String getDynamicTableName() {
		return "t_rbac_data_field";
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", code=").append(code);
		sb.append(", projectId=").append(projectId);
		sb.append(", moduleId=").append(moduleId);
		sb.append(", clazzId=").append(clazzId);
		sb.append(", name=").append(name);
		sb.append(", field=").append(field);
		sb.append(", disableFlag=").append(disableFlag);
		sb.append(", deleteFlag=").append(deleteFlag);
		sb.append(", remark=").append(remark);
		sb.append("]");
		return sb.toString();
	}
}